package com.zj.open.wechat.dto.event;

public enum Events {
    subscribe(SubscribeEvent.class), //
    unsubscribe(SubscribeEvent.class), //
    SCAN(ScanEvent.class), //
    LOCATION(LocationEvent.class), //
    CLICK(MenuEvent.class), //
    VIEW(MenuEvent.class);

    Class eventClass = null;

    <T extends Event> Events(Class<T> eventClass) {
        this.eventClass = eventClass;
    }

    public Class getEventClass() {
        return eventClass;
    }

}
